package es.chaveweb.poZit.client.ioc.impl;

import com.google.gwt.core.client.GWT;
import com.google.gwt.event.shared.EventBus;

import es.chaveweb.poZit.client.ioc.ClientFactory;
import es.chaveweb.poZit.shared.request.PoZitRequestFactory;

public class ClientFactoryImplDesktop implements ClientFactory {

	private static final PoZitRequestFactory dataRequestFactory = GWT.create(PoZitRequestFactory.class);

	@Override
	public PoZitRequestFactory getDataRequestFactory() {
		return dataRequestFactory;
	}

	@Override
	public void init(EventBus eventBus) {
		dataRequestFactory.initialize(eventBus);
	}

}
